﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSyncData.Model
{
    /// <summary>
    /// 采购订单收货计划中间表
    /// </summary>
    [Table(TableName = "ttddev101101")]
    public class tddev101
    {
        [Table(IsKey = true)]
        public int id { get; set; }
        /// <summary>
        /// 采购订单号
        /// </summary>
        public string orno { get; set; }
        /// <summary>
        /// 采购订单行号
        /// </summary>
        public int pono { get; set; }
        /// <summary>
        /// 顺序号
        /// </summary>
        public int sqnb { get; set; }
        /// <summary>
        /// 事务类型 收货/发料
        /// </summary>
        public string ittp { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string otbp { get; set; }
        /// <summary>
        /// 物料
        /// </summary>
        public string item { get; set; }
        /// <summary>
        /// 入库仓库
        /// </summary>
        public string cwar { get; set; }
        /// <summary>
        /// 采购订单数量
        /// </summary>
        public decimal qoor { get; set; }
        /// <summary>
        /// 订单单位
        /// </summary>
        public string cuqp { get; set; }
        /// <summary>
        /// 是否延交订单
        /// </summary>
        public string bkor { get; set; }
        /// <summary>
        /// 中间表状态
        /// </summary>
        public int host { get; set; }
        /// <summary>
        /// 行状态
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        /// 行文本
        /// </summary>
        public string text { get; set; }
        /// <summary>
        /// ERP写入时间
        /// </summary>
        public DateTime? edtel { get; set; }
        /// <summary>
        /// WMS读取时间
        /// </summary>
        public DateTime? wdtel { get; set; }
    }
}
